package com.project.slsx.bean;

import java.util.List;

public class StorageListBean extends BaseBean {


    /**
     * all_number : 13
     * all_amount : 1651
     * all_profits : -1592
     * result : [{"id":"2","amount":"50.00","supplier_id":"23","gift":"0","title":"怡宝550ml-1瓶","number":"10.00","in_pool":"0","thumb":"http://www.sweiquan.cn/attachment/images/2/2018/06/EBzzA82dG8s888AlbSTS88okY8S8ZS.jpg","profits":0,"supplier":[{"id":"23","name":"八方食品"},{"id":"25","name":"盛达酒水"}]},{"id":"3","amount":"1.00","supplier_id":"23","gift":"0","title":"蒙牛纯牛奶250ml-蒙牛纯牛奶1件16盒","number":"1.00","in_pool":"0","thumb":"http://www.sweiquan.cn/attachment/images/2/2018/09/oC4dHsJhH5Cc5clPWXu43ZD33SCcW5.jpg","profits":2,"supplier":[{"id":"23","name":"八方食品"},{"id":"25","name":"盛达酒水"}]},{"id":"4","amount":"800.00","supplier_id":"23","gift":"0","title":"蒙牛纯牛奶250ml-蒙牛纯牛奶1件16盒","number":"1.00","in_pool":"0","thumb":"http://www.sweiquan.cn/attachment/images/2/2018/09/oC4dHsJhH5Cc5clPWXu43ZD33SCcW5.jpg","profits":-797,"supplier":[{"id":"23","name":"八方食品"},{"id":"25","name":"盛达酒水"}]},{"id":"5","amount":"800.00","supplier_id":"23","gift":"0","title":"蒙牛纯牛奶250ml-蒙牛纯牛奶1件16盒","number":"1.00","in_pool":"0","thumb":"http://www.sweiquan.cn/attachment/images/2/2018/09/oC4dHsJhH5Cc5clPWXu43ZD33SCcW5.jpg","profits":-797,"supplier":[{"id":"23","name":"八方食品"},{"id":"25","name":"盛达酒水"}]}]
     */

    private int all_number;
    private int all_amount;
    private int all_profits;
    private List<ResultBean> result;

    public int getAll_number() {
        return all_number;
    }

    public void setAll_number(int all_number) {
        this.all_number = all_number;
    }

    public int getAll_amount() {
        return all_amount;
    }

    public void setAll_amount(int all_amount) {
        this.all_amount = all_amount;
    }

    public int getAll_profits() {
        return all_profits;
    }

    public void setAll_profits(int all_profits) {
        this.all_profits = all_profits;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 2
         * amount : 50.00
         * supplier_id : 23
         * gift : 0
         * title : 怡宝550ml-1瓶
         * number : 10.00
         * in_pool : 0
         * thumb : http://www.sweiquan.cn/attachment/images/2/2018/06/EBzzA82dG8s888AlbSTS88okY8S8ZS.jpg
         * profits : 0
         * supplier : [{"id":"23","name":"八方食品"},{"id":"25","name":"盛达酒水"}]
         */

        private String id;
        private String amount;
        private String supplier_id;
        private String gift;
        private String title;
        private String number;
        private String in_pool;
        private String thumb;
        private int profits;
        private List<SupplierBean> supplier;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getSupplier_id() {
            return supplier_id;
        }

        public void setSupplier_id(String supplier_id) {
            this.supplier_id = supplier_id;
        }

        public String getGift() {
            return gift;
        }

        public void setGift(String gift) {
            this.gift = gift;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getIn_pool() {
            return in_pool;
        }

        public void setIn_pool(String in_pool) {
            this.in_pool = in_pool;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public int getProfits() {
            return profits;
        }

        public void setProfits(int profits) {
            this.profits = profits;
        }

        public List<SupplierBean> getSupplier() {
            return supplier;
        }

        public void setSupplier(List<SupplierBean> supplier) {
            this.supplier = supplier;
        }

        public static class SupplierBean {
            /**
             * id : 23
             * name : 八方食品
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
